//
//  NetWorkManager+HotelNetWorkManager.m
//  Go!
//
//  Created by rimi on 16/7/9.
//  Copyright © 2016年 凌风. All rights reserved.
//

#import "NetWorkManager+HotelNetWorkManager.h"

@interface NetWorkManager ()


@end


@implementation NetWorkManager (HotelNetWorkManager)




+(void)pickViewChoisCityWithCityID:(NSString *)cityID
                       successcity:(SuccessCity)successcity
                       failurecity:(FailureCity)failurecity{
    
    [NetWorkManager getWithURL:@"districts" urlParam:@{@"city_id":cityID} successBlock:^(id responseObject) {
        if (successcity) {
            successcity(responseObject);
        }
    } FailureBlock:^(NSError *error) {
        if (failurecity) {
            failurecity(error);
        }
    }];
    
}




@end
